
# ifndef __DFX_TIMER_WIN32_H__
# define __DFX_TIMER_WIN32_H__

# include "dfxTimer.h"
# include <Windows.h>

namespace DFX
{
    class Timer_Win32 : public Timer
    {
    private:

        Float64		mSecsPerCount;
        Float64		mDeltaTime;
        Int64		mBaseTime;
        Int64		mPausedTime;
        Int64		mStopTime;
        Int64		mPrevTime;
        Int64		mCurrTime;
        bool		mStopped;

    public:

        Timer_Win32();
        ~Timer_Win32();

        Float32	GetGameTime() const;
        Float32 GetDeltaTime() const;

        void Reset();
        void Start();
        void Stop();
        void Tick();
    };
}

# endif